home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1998 August / PC Direct August 1998.iso / S / powerj / Product / h.z / SETJMPEX.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-30  |  593 b   |  36 lines

  1. /*
  2.  *  setjmp.h
  3.  *
  4.  *  Copyright by WATCOM International Corp. 1988-1996.  All rights reserved.
  5.  */
  6. #ifndef _SETJMPEX_H_INCLUDED
  7. #define _SETJMPEX_H_INCLUDED
  8. #if !defined(_ENABLE_AUTODEPEND)
  9.   #pragma read_only_file;
  10. #endif
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. #ifndef _COMDEF_H_INCLUDED
  17.  #include <_comdef.h>
  18. #endif
  19.  
  20. #if !defined(_SETJMP_H_INCLUDED_)
  21.  #include <setjmp.h>
  22. #endif
  23.  
  24. #if defined(__AXP__)
  25.  _WCRTLINK extern int _setjmpex(jmp_buf __env);
  26.  
  27.  #undef setjmp
  28.  #define setjmp(__env)  _setjmpex(__env)
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. };
  33. #endif
  34.  
  35. #endif
  36.